﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Admin/Admin.Master" CodeBehind="Major.aspx.cs" Inherits="TuyenSinh.Admin.Major" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="JS/JSMajor.js" type="text/javascript"></script>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="Main" runat="server">
    <div id="center-column">
            
           <div class="top-bar">
				<a href="javascript:void(0)" class="button" id="btnAddNew">ADD NEW </a>
                <a href="javascript:void(0)" class="button" id="btnEdit">EDIT</a>
				<h1>Quản lý các trường</h1>
			</div><br />
            
            <div class="select-bar" id="divBarSearch">
            <label>
            Tên trường
		   <asp:TextBox ID="txtNameSerch" runat="server"></asp:TextBox>
		    </label>

            <asp:DropDownList ID="ddlRegion" runat="server">
            </asp:DropDownList>
           
           Thuộc loại
            <asp:DropDownList ID="ddlType" runat="server">
            </asp:DropDownList>

            Thuộc nhóm
            <asp:DropDownList ID="ddlGroup" runat="server">
            </asp:DropDownList>
           

            <asp:Button ID="btnSubmitCate" runat="server" Text="Search" OnClick="btnSubmitCate_Click" />
          </div>                       
            <div class="select-bar" id="divAdd" style="display: none">
            <label>
               Khu vực
                <asp:DropDownList ID="ddlRegionAdd" runat="server">
            </asp:DropDownList>
                </label>
                Trường
            <asp:DropDownList ID="ddlSchoolAdd" runat="server">
            </asp:DropDownList>
           
            </div>
              

        <!-- Edit -->

        <!-- End Edit -->
        
        <!-- New -->
        <div class="table" style="display:none" id="divAddNew" >
            
          
                <table class="tabAdd"  cellpadding="0" cellspacing="0" width="560px">
                    <tr>
                        <td class="title">Tên ngành</td>
                        <td class="content"><input type="text" id="txtName" class="textAdd"/></td>
                    </tr>
                    
                      <tr>
                         <td class="title">Nhóm ngành</td>
                         <td> <asp:DropDownList ID="ddlGroupMajor" runat="server">
                            </asp:DropDownList></td>
                    </tr>
                    <tr>
                        <td class="title">Mô tả</td>
                        <td class="content"><textarea id="txtDesc" rows="3" cols="60"></textarea></td>
                    </tr>
                    <tr>
                        <td class="title">Lĩnh vực</td>
                        <td class="content"><asp:DropDownList ID="ddlSessionAdd" runat="server">
                                
                        </asp:DropDownList> </td>
                    </tr>                                        
                                                 
                     <tr>
                        <td class="title">Active</td>
                        <td class="content"><input type="checkbox" id="ckbActive" checked="checked" /></td>
                    </tr> 
                    <tr id="trAddNew">
                        <td class="title">Delete</td>
                        <td class="content"><input type="checkbox" id="ckbDelete" checked="checked" /></td>
                    </tr>
                    
                    <tr>
                       <td colspan="2">
                            <input type="button" id="btnSaveSchool" value="Save" />
                       </td> 
                    </tr>
                </table>
                <asp:Label ID="spResult" runat="server"></asp:Label>
            </div>
        <!-- End New -->

    </div>
</asp:Content>